/*
 * @Author: mayijun
 * @Date: 2022-03-31 11:01:31
 * @LastEditors: saber
 * @LastEditTime: 2022-05-24 19:03:58
 */
module.exports = {
  presets: ['@vue/cli-plugin-babel/preset'],
  plugins: [
    // [
    //   'import',
    //   {
    //     libraryName: 'element-plus',
    //     customStyleName: (name) => {
    //       // console.log(name);
    //       let n = name.slice(3)
    //       return n === 'ale'
    //         ? '@/assets/blank.css'
    //         : `element-plus/theme-chalk/src/${n}.scss`
    //     }
    //   }
    // ],
    // ['import', {libraryName: '@dangojs/a-page-container'}],
    '@vue/babel-plugin-jsx'
  ]
}
